X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=blobdiff_plain;f=profileinfo.php;h=83ae1935df1719bb862b28a745f9239f45986f41;hb=8e27780cfdb7209e22a2c8a05b4ca4774d8fdfa6;hp=466f26aaec37202905481c630bd7fe117103e0c1;hpb=17395ea3d473219259b87de1770c5d3d08961444;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 466f26aaec..83ae1935df 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -150,7 +150,7 @@ if ( !$wgEnableProfileInfo ) { exit( 1 ); } -$dbr = wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_REPLICA ); if ( !$dbr->tableExists( 'profiling' ) ) { echo '

No profiling table exists, so we can\'t show you anything.

'